package com.wenjiang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wenjiang.common.dto.GoodCommentParams;
import com.wenjiang.common.vo.BeReplyVo;
import com.wenjiang.common.vo.CommentVo;
import com.wenjiang.common.vo.GoodCommentVo;
import com.wenjiang.entity.MallComment;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lwj
 * @since 2021-10-23
 */
public interface MallCommentMapper extends BaseMapper<MallComment> {

    //查找用户评价信息（带商品信息）
    public List<CommentVo> getUserComment(Long userId);



    //查找该商品下的评论

    public  List<GoodCommentVo> getGoodComment(GoodCommentParams goodCommentParams);







}
